/**
 * 
 */
package com.myway.components.jms.artifact;

import com.myway.core.jms.artifact.JobArtifact;
import com.myway.dto.logs.DTOIBELogs;


/**
 * @author zhengxing
 *
 */
public class IBELogArtifact extends JobArtifact {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4729067467588597209L;
	private DTOIBELogs log;

	public IBELogArtifact(String airline) {
		super("IBE日志(DTOIBELogs)","IBELOG(DTOIBELogs)",airline);
	}
	
	public IBELogArtifact(String airline,DTOIBELogs ibeLogs) {
		super("IBE日志(DTOIBELogs)","IBELOG(DTOIBELogs)",airline);
		this.log = ibeLogs;
	}

	/**
	 * @return the log
	 */
	public DTOIBELogs getLog() {
		return log;
	}

	/**
	 * @param log the log to set
	 */
	public void setLog(DTOIBELogs log) {
		this.log = log;
	}

	/* (non-Javadoc)
	 * @see com.hna.mars.components.ibe.queue.artifact.JobArtifact#toString()
	 */
	public String toString() {
		StringBuffer s=new StringBuffer();
		s.append("IBE option error log.");
		return s.toString();
	}

}
